#pragma once
# include "BindAbleInterface.h"

struct ID3D11Buffer;

class VertexScalBufferBindAble: public BindAbleInterface {
public:
	struct float3 {
		float x;
		float y;
		float z;
	};

	struct Transform {
		float3 translation;
		float3 scale;
	};

	VertexScalBufferBindAble(ID3D11Device* _device, float3 _translation, float3 _scale);
	void bind(ID3D11DeviceContext* _context) override;
	void changeTranslation(ID3D11DeviceContext* _context, float _x, float _y);
	~VertexScalBufferBindAble();
private:
	Microsoft::WRL::ComPtr<ID3D11Buffer> m_vs_constant_buffer = nullptr;
	Transform m_transform = { 0 };
};

